home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.12.gz / 1994.12 / 000043_peta@cim.mcgill.ca_Thu Dec 8 05:42:27 1994.msg < prev    next >
Internet Message Format  |  1994-12-30  |  2KB

  1. Received: from Lightning.McRCIM.McGill.EDU by cs.umb.edu with SMTP id AA19282
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 8 Dec 1994 10:42:48 -0500
  3. Received: from Athena.McRCIM.McGill.EDU by Lightning.McRCIM.McGill.EDU (8.6.9) with ESMTP
  4.     id <199412081540.KAA12528@Lightning.McRCIM.McGill.EDU>; Thu, 8 Dec 1994 10:40:07 -0500
  5. Received: from localhost (peta@localhost) by Athena.McRCIM.McGill.EDU (8.6.9/8.6.9) with SMTP id KAA24999; Thu, 8 Dec 1994 10:42:28 -0500
  6. Message-Id: <199412081542.KAA24999@Athena.McRCIM.McGill.EDU>
  7. X-Authentication-Warning: Athena.McRCIM.McGill.EDU: peta owned process doing -bs
  8. X-Authentication-Warning: Athena.McRCIM.McGill.EDU: Host localhost didn't use HELO protocol
  9. To: dan@tesla.psych.nyu.edu (Dan Karron)
  10. Cc: tex-k@cs.umb.edu
  11. Subject: Re: debugging search paths in kpathsea 
  12. In-Reply-To: Your message of "Wed, 07 Dec 1994 23:40:43 EST."
  13.              <9412080440.AA03948@tesla.psych.nyu.edu> 
  14. Date: Thu, 08 Dec 1994 10:42:27 -0500
  15. From: Peter Whaite <peta@cim.mcgill.ca>
  16.  
  17. > Karron here;
  18. > Anyone give any thought to some debugging vars in kpathsea ?
  19. > Kause sometimes the only problem is that I tell tex / mf to
  20. > look in the wrong places.
  21.  
  22. Here are some of the things I've done to track down these problems.
  23.  
  24. 1. The utilities (dvips and xdvi) take -d debug flags which give lots of useful
  25.    kpathsea information. 
  26.  
  27. 2. If you use kpathsea-2.4 (web2c-6.1 has to be patched) then the evironment
  28.    variable TEXMFLOG to the name of a file to which some of this information
  29.    is written.   This might be useful for tex/mf though it seems to just list
  30.    the files found.
  31.  
  32. 3. On SGI's you can use the par(1) command (like trace) to see what system
  33.    calls are being made.  I often resort to...
  34.  
  35.     par -s -SS latex foo.tex 
  36.  
  37.    with egrep to pick out the ones of interest (xstat and open usually).  Also
  38.    I think you can actually tell par which calls to pick out (but I'm lazy).
  39.    I can't recall if IRIX4.0.x has the par command.  If not the sources to
  40.    trace compile fine.
  41.  
  42. Its really worth while applying those kpathsea-2.4 patches because you can set
  43. up paths in the texmf.cfg file.  Just keep editing till its right.